<?php
require_once("../model/user.php");

$title = $_POST['title'];

$rt = array();

if($title == 'content1') {
    $rt['content'] = "tab 1 content";

}elseif($title == 'content2') {
	$rt['content'] = "Tab2 Content";

} elseif($title=="content3") {
    $rt['content'] = array("Tomato"=>1, "apple"=>2, "orange"=>3, "Grape"=>4);

} elseif($title=="content4") {
    $rt['content'] = "Tab 4 content";

} elseif($title="content5") {
    $rt['content'] = "Tab 5 content";
}

echo json_encode($rt);
